import request from "./index";

// 请求轮播图数据
export function getTopBanners (){
  return request.get("/banner");
};

// 请求热门推荐数据
export function getHotRecommends ( limit = 8) {
  return request.get("/personalized",{
    params:{
      limit
    }
  });
};
